﻿using Wolfpack.Core;
using Wolfpack.Core.Configuration;
using Wolfpack.Core.Interfaces.Entities;
using Wolfpack.Core.Notification.Filters.Request;

namespace Wolfpack.Contrib.Checks.Registry
{
    public class RegistryCheckConfigurationDiscovery : HealthCheckDiscoveryBase<RegistryCheckConfig, RegistryCheck>
    {
        protected override RegistryCheckConfig GetConfiguration()
        {
            return new RegistryCheckConfig
                       {
                           Enabled = true,
                           FriendlyId = "CHANGEME!",
                           NotificationMode = AlwaysPublishNotificationFilter.FilterName,
                           Keyname = "PLEASE SET ME!",
                           SubKey = "PLEASE SET ME!",
                       };
        }

        protected override void Configure(ConfigurationEntry entry)
        {
            entry.Name = "RegistryCheck";
            entry.Description = "Registry HealthCheck .";
            entry.Tags.AddIfMissing("Registry");
        }
    }
}